package Welsy4.Connect.business
{
	import com.adobe.cairngorm.control.CairngormEventDispatcher;
	import flash.events.EventDispatcher;
	import Welsy4.Connect.vo.*
	import Welsy4.Connect.events.ResponseEvent;
	
	/**
	 * Classe Helper per istanziare i VO della libreria 
	 * Utilizza come APIServices.funzione(APIFactoryLocator.funzione:Object):void 
	 * 
	 * @author fminzoni
	 * @author daniele guido
	 **/
	
	public class APIFactoryLocator 
	{
		
		public function APIFactoryLocator()
		{
			
		}
        
		public static function CreateUser(nickname:String):User {
			return new User(nickname);
		}
		
		public static function CreateMeeting():Meeting {
			return new Meeting;
		}
		
		public static function CreateMeetingParticipants(meeting:Meeting):MeetingParticipants {
			return new MeetingParticipants(meeting);
		}

		
				
	}
}